package 依赖倒转;

public class Person {
    public void receive(IReceiver i){
        System.out.println(i.getInfo());
    }
}

